<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>没有原型的对象也是存在的</title>
</head>
<body>
    <script>
        let hd = {name : "后盾人"};
        console.log(hd);
        console.log(hd.hasOwnProperty("name"));

        // 对象的create方法中的第一个参数，是否有原型(没有为null,有为Object)
        let hdms = Object.create(null,{
            name : {
                value : "xiasnn"
            }
        });
        console.log(hdms);
        // console.log(hdms.hasOwnProperty("name"));
    </script>
</body>
</html>